package org.edu.modules.portal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;


@TableName("ve_cuz_site")
@ApiModel(value = "ve_cuz_site对象", description = "ve_cuz_site")
public class VeCuzSite implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;
    @ApiModelProperty("网站域名")
    private String domain;
    @ApiModelProperty("网站标题")
    private String title;
    @ApiModelProperty("门户网站模板编号")
    private String templet;
    @ApiModelProperty("门户banner图片")
    private Integer bannerid;
    @ApiModelProperty("门户logo图片")
    private Integer logoid;
    @ApiModelProperty("关键字")
    private String keywords;

    public org.edu.modules.portal.entity.VeCuzSite setId(Integer id) {
        this.id = id;
        return this;
    }

    @ApiModelProperty("描述")
    private String descriptions;
    @ApiModelProperty("运行状态（1正常，0关闭）")
    private Integer status;
    @ApiModelProperty("关闭原因")
    private String reason;
    @ApiModelProperty("课程ID")
    private Integer courseid;
    @ApiModelProperty("访问次数")
    private Integer visitcount;
    @ApiModelProperty("宣传视频文件id")
    private Integer videoid;
    @ApiModelProperty("宣传视频图片id")
    private Integer videocoverid;
    @ApiModelProperty("终端系统ID")
    private Integer terminalid;
    @ApiModelProperty("多租户id")
    private Integer placeId;

    public org.edu.modules.portal.entity.VeCuzSite setDomain(String domain) {
        this.domain = domain;
        return this;
    }

    public org.edu.modules.portal.entity.VeCuzSite setTitle(String title) {
        this.title = title;
        return this;
    }

    public org.edu.modules.portal.entity.VeCuzSite setTemplet(String templet) {
        this.templet = templet;
        return this;
    }

    public org.edu.modules.portal.entity.VeCuzSite setBannerid(Integer bannerid) {
        this.bannerid = bannerid;
        return this;
    }

    public org.edu.modules.portal.entity.VeCuzSite setLogoid(Integer logoid) {
        this.logoid = logoid;
        return this;
    }

    public org.edu.modules.portal.entity.VeCuzSite setKeywords(String keywords) {
        this.keywords = keywords;
        return this;
    }

    public org.edu.modules.portal.entity.VeCuzSite setDescriptions(String descriptions) {
        this.descriptions = descriptions;
        return this;
    }

    public org.edu.modules.portal.entity.VeCuzSite setStatus(Integer status) {
        this.status = status;
        return this;
    }

    public org.edu.modules.portal.entity.VeCuzSite setReason(String reason) {
        this.reason = reason;
        return this;
    }

    public org.edu.modules.portal.entity.VeCuzSite setCourseid(Integer courseid) {
        this.courseid = courseid;
        return this;
    }

    public org.edu.modules.portal.entity.VeCuzSite setVisitcount(Integer visitcount) {
        this.visitcount = visitcount;
        return this;
    }

    public org.edu.modules.portal.entity.VeCuzSite setVideoid(Integer videoid) {
        this.videoid = videoid;
        return this;
    }

    public org.edu.modules.portal.entity.VeCuzSite setVideocoverid(Integer videocoverid) {
        this.videocoverid = videocoverid;
        return this;
    }

    public org.edu.modules.portal.entity.VeCuzSite setTerminalid(Integer terminalid) {
        this.terminalid = terminalid;
        return this;
    }

    public org.edu.modules.portal.entity.VeCuzSite setPlaceId(Integer placeId) {
        this.placeId = placeId;
        return this;
    }

    public String toString() {
        return "VeCuzSite(id=" + getId() + ", domain=" + getDomain() + ", title=" + getTitle() + ", templet=" + getTemplet() + ", bannerid=" + getBannerid() + ", logoid=" + getLogoid() + ", keywords=" + getKeywords() + ", descriptions=" + getDescriptions() + ", status=" + getStatus() + ", reason=" + getReason() + ", courseid=" + getCourseid() + ", visitcount=" + getVisitcount() + ", videoid=" + getVideoid() + ", videocoverid=" + getVideocoverid() + ", terminalid=" + getTerminalid() + ", placeId=" + getPlaceId() + ")";
    }


    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof org.edu.modules.portal.entity.VeCuzSite)) return false;
        org.edu.modules.portal.entity.VeCuzSite other = (org.edu.modules.portal.entity.VeCuzSite) o;
        if (!other.canEqual(this)) return false;
        Object this$id = getId(), other$id = other.getId();
        if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id)) return false;
        Object this$bannerid = getBannerid(), other$bannerid = other.getBannerid();
        if ((this$bannerid == null) ? (other$bannerid != null) : !this$bannerid.equals(other$bannerid)) return false;
        Object this$logoid = getLogoid(), other$logoid = other.getLogoid();
        if ((this$logoid == null) ? (other$logoid != null) : !this$logoid.equals(other$logoid)) return false;
        Object this$status = getStatus(), other$status = other.getStatus();
        if ((this$status == null) ? (other$status != null) : !this$status.equals(other$status)) return false;
        Object this$courseid = getCourseid(), other$courseid = other.getCourseid();
        if ((this$courseid == null) ? (other$courseid != null) : !this$courseid.equals(other$courseid)) return false;
        Object this$visitcount = getVisitcount(), other$visitcount = other.getVisitcount();
        if ((this$visitcount == null) ? (other$visitcount != null) : !this$visitcount.equals(other$visitcount))
            return false;
        Object this$videoid = getVideoid(), other$videoid = other.getVideoid();
        if ((this$videoid == null) ? (other$videoid != null) : !this$videoid.equals(other$videoid)) return false;
        Object this$videocoverid = getVideocoverid(), other$videocoverid = other.getVideocoverid();
        if ((this$videocoverid == null) ? (other$videocoverid != null) : !this$videocoverid.equals(other$videocoverid))
            return false;
        Object this$terminalid = getTerminalid(), other$terminalid = other.getTerminalid();
        if ((this$terminalid == null) ? (other$terminalid != null) : !this$terminalid.equals(other$terminalid))
            return false;
        Object this$placeId = getPlaceId(), other$placeId = other.getPlaceId();
        if ((this$placeId == null) ? (other$placeId != null) : !this$placeId.equals(other$placeId)) return false;
        Object this$domain = getDomain(), other$domain = other.getDomain();
        if ((this$domain == null) ? (other$domain != null) : !this$domain.equals(other$domain)) return false;
        Object this$title = getTitle(), other$title = other.getTitle();
        if ((this$title == null) ? (other$title != null) : !this$title.equals(other$title)) return false;
        Object this$templet = getTemplet(), other$templet = other.getTemplet();
        if ((this$templet == null) ? (other$templet != null) : !this$templet.equals(other$templet)) return false;
        Object this$keywords = getKeywords(), other$keywords = other.getKeywords();
        if ((this$keywords == null) ? (other$keywords != null) : !this$keywords.equals(other$keywords)) return false;
        Object this$descriptions = getDescriptions(), other$descriptions = other.getDescriptions();
        if ((this$descriptions == null) ? (other$descriptions != null) : !this$descriptions.equals(other$descriptions))
            return false;
        Object this$reason = getReason(), other$reason = other.getReason();
        return !((this$reason == null) ? (other$reason != null) : !this$reason.equals(other$reason));
    }

    protected boolean canEqual(Object other) {
        return other instanceof org.edu.modules.portal.entity.VeCuzSite;
    }

    public int hashCode() {
        int PRIME = 59;
        Integer result = 1;
        Object $id = getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        Object $bannerid = getBannerid();
        result = result * 59 + (($bannerid == null) ? 43 : $bannerid.hashCode());
        Object $logoid = getLogoid();
        result = result * 59 + (($logoid == null) ? 43 : $logoid.hashCode());
        Object $status = getStatus();
        result = result * 59 + (($status == null) ? 43 : $status.hashCode());
        Object $courseid = getCourseid();
        result = result * 59 + (($courseid == null) ? 43 : $courseid.hashCode());
        Object $visitcount = getVisitcount();
        result = result * 59 + (($visitcount == null) ? 43 : $visitcount.hashCode());
        Object $videoid = getVideoid();
        result = result * 59 + (($videoid == null) ? 43 : $videoid.hashCode());
        Object $videocoverid = getVideocoverid();
        result = result * 59 + (($videocoverid == null) ? 43 : $videocoverid.hashCode());
        Object $terminalid = getTerminalid();
        result = result * 59 + (($terminalid == null) ? 43 : $terminalid.hashCode());
        Object $placeId = getPlaceId();
        result = result * 59 + (($placeId == null) ? 43 : $placeId.hashCode());
        Object $domain = getDomain();
        result = result * 59 + (($domain == null) ? 43 : $domain.hashCode());
        Object $title = getTitle();
        result = result * 59 + (($title == null) ? 43 : $title.hashCode());
        Object $templet = getTemplet();
        result = result * 59 + (($templet == null) ? 43 : $templet.hashCode());
        Object $keywords = getKeywords();
        result = result * 59 + (($keywords == null) ? 43 : $keywords.hashCode());
        Object $descriptions = getDescriptions();
        result = result * 59 + (($descriptions == null) ? 43 : $descriptions.hashCode());
        Object $reason = getReason();
        return result * 59 + (($reason == null) ? 43 : $reason.hashCode());
    }


    public Integer getId() {

        return this.id;
    }

    public String getDomain() {
        /* 40 */
        return this.domain;
    }

    public String getTitle() {
        /* 43 */
        return this.title;
    }

    public String getTemplet() {
        /* 46 */
        return this.templet;
    }

    public Integer getBannerid() {

        return this.bannerid;
    }

    public Integer getLogoid() {
        /* 52 */
        return this.logoid;
    }

    public String getKeywords() {
        /* 55 */
        return this.keywords;
    }

    public String getDescriptions() {
        /* 58 */
        return this.descriptions;
    }

    public Integer getStatus() {

        return this.status;
    }

    public String getReason() {
        /* 64 */
        return this.reason;
    }

    public Integer getCourseid() {
        /* 67 */
        return this.courseid;
    }

    public Integer getVisitcount() {
        /* 70 */
        return this.visitcount;
    }

    public Integer getVideoid() {

        return this.videoid;
    }

    public Integer getVideocoverid() {
        /* 76 */
        return this.videocoverid;
    }

    public Integer getTerminalid() {
        /* 79 */
        return this.terminalid;
    }

    public Integer getPlaceId() {
        /* 82 */
        return this.placeId;
    }
}



